home *** CD-ROM | disk | FTP | other *** search
- Path: user1.mnsinc.com!huang
- From: huang@mnsinc.com (Szu-Wen Huang)
- Newsgroups: comp.lang.c
- Subject: Re: curses.h <-- getch() ?
- Date: 17 Apr 1996 23:49:48 GMT
- Organization: Monumental Network Systems
- Message-ID: <4l402s$e0q@news1.mnsinc.com>
- References: <317543A1.75A8@sun.uniag.sk>
- NNTP-Posting-Host: user1.mnsinc.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Billik Stefan - 2.PEF (billik@sun.uniag.sk) wrote:
- : My problem is that this program don't like our cc && gcc compilers:
-
- [snip]
- : #include <curses.h>
- [snip]
-
- : During compilation:
-
- : 18:02 /usr1/users/student/billik/C/$ cc c/getstring.c
- : Undefined first referenced
- : symbol in file
- : wgetch getstring.o
- : stdscr getstring.o
- : ld: fatal: Symbol referencing errors. No output written to a.out
-
- Perhaps you would try linking the Curses library? ;) Adding -lcurses
- to the command line of cc/gcc should do, unless your Curses libraries
- were installed in a weird directory, in which case you need to specify
- that path in a -L switch. Hth.
-